package com.cinc.mdm.modules.processRoute.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cinc.mdm.modules.processRoute.entity.MdmProcessRouteDetail;
import com.cinc.mdm.modules.processRoute.mapper.MdmProcessRouteDetailMapper;
import com.cinc.mdm.modules.processRoute.service.IMdmProcessRouteDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 工艺路线明细
 * @Author: jeecg-boot
 * @Date: 2022-07-21
 * @Version: V1.0
 */
@Service
public class MdmProcessRouteDetailServiceImpl extends ServiceImpl<MdmProcessRouteDetailMapper, MdmProcessRouteDetail> implements IMdmProcessRouteDetailService {

    @Autowired
    private MdmProcessRouteDetailMapper mdmProcessRouteDetailMapper;

    @Override
    public List<MdmProcessRouteDetail> selectByMainId(String mainId) {
        return mdmProcessRouteDetailMapper.selectByMainId(mainId);
    }

    @Override
    public List<MdmProcessRouteDetail> selectByClassId(String classId) {
        return mdmProcessRouteDetailMapper.selectByClassId(classId);
    }
}
